package com.its.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.its.member.pojo.Member;

/**
* @author lenovo
* @description 针对表【gym_member】的数据库操作Service
* @createDate 2025-04-22 21:05:11
*/
public interface MemberService extends IService<Member> {
    //新增会员
    Member addMember(Member member);

    //删除会员
    int delMember(Integer memberAccount);

    //修改会员信息
    int updateMember(Member member);

    //根据ID查询会员信息
    Member selectMemberById(Long mid);

    //根据会员账户查询会员信息
    Member selMemberByMemberCountService(Integer memberAccount);

    //分页查询会员信息
    Page<Member> selectMemberByPage(Integer page,Integer size);
}
